package com.qh.factory.method;



public class teslaFactory implements Carfactory {

    @Override
    public Car getCar() {
        return new Tesla();
    }
}
